package ifosup.chat.common;

import static org.junit.Assert.*;
import ifosup.chat.metier.Client;
import ifosup.chat.metier.Server;

import org.junit.Test;


public class MetierTest {

	private Server server;
	
	@Test
	public void jUnitOKTest() {
		System.out.println("test JUnit");
		assertTrue(true);
	}	
	
	@Test
	public void serverTest() {
		
		server = new Server();
		Thread threadServer = new Thread(server);
		threadServer.start();
			
	}
	@Test
	public void clientTest(){
		Client client = new Client(new Utilisateur("127.0.0.1", "maGueule"), null);
	}

}
